package com.iotek.ssm.pojo;

import java.util.List;

public class PageData<T> {
    public static final int PAGE_SIZE = 2;
    private int start;
    private int totalPages;
    private List<T> list;

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getStart() {
        return start;
    }

    public List<T> getList() {
        return list;
    }
}
